function x_out=diff_alamouti(s_in,x_previous,rho)

d=alamouti(s_in);
x_out=d*x_previous;
x_out=normalize(x_out,rho);



function y=normalize(x_out,rho)
y=x_out*rho/mean(mean(abs(x_out)));
	